import request from '@/utils/request'

export function ddglbl(params) {
  return request({
    url: '/admin/order/list',
    method: 'get',
    params
  })
}

export function ddglps(params) {
  return request({
    url: '/admin/order/channel',
    method: 'get',
    params
  })
}

export function ddglfh(data) {
  return request({
    url: '/admin/order/ship',
    method: 'post',
    data
  })
}

export function ddglsk(data) {
  return request({
    url: '/admin/order/pay',
    method: 'post',
    data
  })
}

export function ddglsc(data) {
  return request({
    url: '/admin/order/delete',
    method: 'post',
    data
  })
}
export function ddglxx(params) {
  return request({
    url: '/admin/order/detail',
    method: 'get',
    params
  })
}

export function ddgltk(data) {
  return request({
    url: '/admin/order/refund',
    method: 'post',
    data
  })
}